package com.paw.file.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云配置
 *
 * @author Administrator
 */
@Data
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunOSSProperty {
    /**
     *  Endpoint
      */
    private String endpoint;
    /**
     *  AccessKey
     */
    private String accessKeyId;
    /**
     *  accessKeySecret
     */
    private String accessKeySecret;

    /**
     * 桶
     */
    private String bucketName;

    /**
     * bucket 访问路径
     */
    private String bucketUrl;

}
